package com.sright.bcard.content.dal.mapper;

import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.common.service.share.dto.page.PageParamRequest;
import com.sright.bcard.content.dal.entity.WxappDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxappDOMapper extends BaseMapper<WxappDO> {
    Integer count(PageParamRequest pageParamRequest);

    List<WxappDO> pageList(PageParamRequest pageParamRequest);

    Integer status(@Param("id") Long id, @Param("status") Integer status, @Param("enterpriseId") Long enterpriseId);

    Integer deleteStatus(@Param("id") Long id);

    WxappDO selectByEnterpriseId(@Param("enterpriseId")Long enterpriseId);
}